package cn.bugstack.springframework.test.bean;

/**
 * <p>模拟用户bean对象
 *
 * @author Yaxi.Zhang
 * @since 2022/12/12 09:42
 */
public class UserService {

    private String name;

    public UserService() {

    }

    public UserService(String name) {
        this.name = name;
    }

    public void queryUserInfo() {
        System.out.println("获取用户信息:" + name);
    }

    @Override
    public String toString() {
        return "UserService{" +
                "name='" + name + '\'' +
                '}';
    }

}
